<style>
	.queryBox{
		border:4px solid #eeeeee;
		margin-top:20px;
	}
	.queryBox_main{
		margin:20px;
		position: relative;
	}
	
	.queryBox_main>p>span{
		display: inline-block;
		width:190px;
		text-align: right;		
	}
	.queryBox_main>p>span:nth-of-type(4){
		text-align: left;
		padding-left:18px;
	}
	.queryBox_main>p>span:nth-of-type(3){
		padding-left:5px;
	}
	.queryBox_main>p:nth-of-type(2){
		margin-top:10px;
	}
	.queryBox_main>p>span:nth-of-type(2){
		width:250px;
	}	
	.queryBox_main>p>span:nth-of-type(2)>input{
		width:175px;
	}
	.btnBox{
		width:100px;
		height:60px;
		float:right;
		position: absolute;
		right:0;
		top:0;
	}
	button[class=query]{
		margin-top:12px;
	}
	.orderDetail{
		border:1px solid #e9e9e9;
		margin-top:10px;
		margin-bottom: 20px;
	}
	.orderDetail_main{
		margin:1px;	
		padding-bottom: 10px;	
	}
	.orderDetail_main>table{
		width:100%;
	}
	.orderDetail_main>table th{
		background: #f8f8f8;
		height:53px;
		border-bottom: 1px solid #e4e4e4;
	}
	.orderDetail_main>table td{
		height:66px;
		border-bottom: 1px dashed #e4e4e4;
	}
	.f009ee7{
		color:#009ee7;
		cursor:pointer;
	}
	#laypage{
		margin:20px 0 0 10px;
	}
</style>
<div class="main">
	<div class="queryBox">
		<div class="queryBox_main">
			<p>
				<span>订单编号：<input type="text" ng-model="postData.orderId"/></span>
				<span>下单日期：<input style="width:75px"  ng-model="postData.startTime" type="text" onClick="WdatePicker({onpicked: function(){$(this).trigger('change')}})" /> - <input  ng-model="postData.endTime" style="width:76px" type="text" onClick="WdatePicker({onpicked: function(){$(this).trigger('change')}})" /></span>
				<span>PNR编码：<input ng-model="postData.supplierPNR" type="text"/></span>
				<span>供应商ID：<input ng-model="postData.supplierOrderId" type="text"/></span>				
			</p>
			<p>
				
				<span>订单类型：<select style="width:122px" ng-model="postData.status">
								<option value="">全部</option>
								<option value="CREATED">创建</option>
								<option value="CANCELED">取消</option>
								<option value="PAY_SUCCESS">支付成功</option>								
							 </select>
							
				</span>				
			</p>
			<div class="btnBox">
				<button ng-click="query()" class="query">查询</button>
			</div>
		</div>
	</div>
	<div class="orderDetail">
		<div class="orderDetail_main">
			<table>
				<tr>
					<th>订单号/状态</th>
					<th>原订单号</th>
					<th>创建/支付/取消(时间)</th>
					<th>供应商/订单/PNR</th>
					<th>供应商原订单/PNR</th>
					<th>供应商结算价+税费</th>
					<th>采购商/订单号/用户</th>
					<th>采购商结算价+税费</th>					
				</tr>
				<tr ng-repeat="list in list">
					<td>{{list.id}}</br><span class="yellowW">{{list.status}}</span></td>
					<td>{{list.origOrderId}}</td>
					<td>{{list.creatTime|date:"yyyy-MM-dd HH:mm:ss"}}</br>{{list.payTime|date:"yyyy-MM-dd HH:mm:ss"}}</br>{{list.cancelTime|date:"yyyy-MM-dd HH:mm:ss"}}</td>
					<td>{{list.supplierID}}</br>{{list.supplierOrderID}}</br>{{list.supplierPNR}}</td>
					<td>{{list.supplierOrigOrderID}}</br>{{list.supplierOrigPNR}}</td>
					<td><span class="yellowW">{{list.supplierSettlePrice}}+{{list.totalTCF}}</span></td>
					<td>{{list.purchaserID}}</br>{{list.purchaserOrderID}}</br>{{list.purchaserUserID}}</td>
					<td><span class="yellowW">{{list.purchaserSettlePrice}}+{{list.totalTCF}}</span></td>					
				</tr>
			</table>
			<div id="laypage"></div>
		</div>
	</div>
</div>

